home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970104-19970326 / 000280_news@columbia.edu _Tue Feb 18 19:05:08 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA23937
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 18 Feb 1997 19:05:07 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id TAA01393
  7.     for kermit.misc@watsun; Tue, 18 Feb 1997 19:05:06 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: C-Kermit, directory name being ignored on GET
  12. Date: 19 Feb 1997 00:05:03 GMT
  13. Organization: Columbia University
  14. Lines: 44
  15. Message-ID: <5edg3f$oq6$1@apakabar.cc.columbia.edu>
  16. References: <5ecll4$5oc@fidoii.cc.lehigh.edu>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:6619
  19.  
  20. In article <5ecll4$5oc@fidoii.cc.lehigh.edu>,
  21. Stephen G. Roseman <lusgr@chili.CC.Lehigh.EDU> wrote:
  22. : I'm not sure if this is a bug or a feature.  The section in ckc192.upd on
  23. : RECEIVE and GET directory changes is a bit obscure.
  24. : Setup:  PC (MS-DOS kermit 3.14) sitting in SERVER mode.
  25. :     Unix (C-Kermit 6.0.192) runs a script to get a file from the PC, and
  26. : store it locally.  The GET command is run without parameters, and prompts for
  27. : the remote and local file names.  eg:
  28. : [/j/lusgr] C-Kermit>get
  29. :  Remote file specification: kermit.exe
  30. :  Local name to store it under: /tmp/frog.exe
  31. : stores the file "frog.exe" in the local directory, not in /tmp.
  32. This one is sort of halfway between a bug and a feature.  Pathnames
  33. are ignored (stripped) when receiving files unless you tell C-Kermit to:
  34.  
  35.   SET RECEIVE PATHNAMES ON
  36.  
  37. However, when you take the trouble to specify a pathname for the incoming
  38. file in your GET command, this should override the RECEIVE PATHNAMES
  39. setting, since you can do the same thing in a RECEIVE command without any
  40. trouble.  In any case, SET RECEIVE PATHNAMES ON is the workaround.
  41.  
  42. : [/j/lusgr] C-Kermit>get
  43. :  Remote file specification: c:\util\kermit.exe
  44. :  Local name to store it under: frog.exe
  45. : doesn't find the file on the PC end.
  46. Jeff answered this one previously: it's the clash between backslash as a
  47. special character in Kermit commands, and its use as a directory separator
  48. in DOS-like file systems.  Whenever you need to specify a backslash in a
  49. remote filename, use two:
  50.  
  51.   get c:\\util\\kermit.exe
  52.  
  53. : The directory names are being ignored.  This process worked with C-Kermit 5.
  54. Evidently the price of progress :-)
  55.  
  56. - Frank